let http = uni.$u.http

export const cakeGet = (bcid=1,p=0)=>{
	let condition = {
		limit:8,
		skip:p*8,
		where:{bcid}
	}
	// return http.get(`/1.1/classes/CakeList?where={"bcid":"${bcid}"}&limit=8&skip=${p*8}`)
	return http.get(`/1.1/classes/CakeList`,{
		params:condition
	})
}